//
//  VDSentinel.m
//  PreComposing
//
//  Created by vedon on 14/7/2016.
//  Copyright © 2016 vedon. All rights reserved.
//

#import "VDSentinel.h"
#import <libkern/OSAtomic.h>

@implementation VDSentinel
{
    int32_t _value;
}

- (int32_t)value
{
    return _value;
}

- (int32_t)increment
{
    return OSAtomicAdd32(1, &_value);
}


@end
